If we add all of the surface integrals around the little volumes, the integral over any surface of a tiny volume which touches another tiny volume is cancelled out by the surface integral of the second tiny volume. Therefore, the sum of the integrals is simply the surface integral over the exterior surface of the large volume, which is the right side of the divergence theorem as written here.